//:C08:Constval.cpp
// Returning consts by value
// has no meaning for built-in types
#include <iostream>
int f3() { return 1; }
const int f4() { return 1; }

int main(void)
{
    const int j = f3();    // Works fine
    int k = f4();    // But this works fine too!
    std::cout << "const int j = " << j << '\n';
    std::cout << "int k = " << k << '\n';   
}